package com.jjs.jcenterdemo;

import android.app.IntentService;
import android.content.Intent;
import android.database.sqlite.SQLiteOpenHelper;
import android.os.SystemClock;
import android.support.annotation.Nullable;
import android.webkit.WebView;
import android.widget.Toast;

import com.white.commonlib.manager.LogManager;

/**
 * Created by ytf on 2018/3/2 002.
 * Description:
 */

public class ItService extends IntentService
{

    /**
     * Creates an IntentService.  Invoked by your subclass's constructor.
     *
     * @param name Used to name the worker thread, important only for debugging.
     */
    public ItService(String name)
    {
        super(name);
    }

    public ItService()
    {
        super("myservice");
    }
    @Override
    protected void onHandleIntent(@Nullable Intent intent)
    {
        SystemClock.sleep(1000);
        LogManager.e("hahshshsh");
    }
}
